package demo.Design.Module.Builder;

/**
 * @Auther: hjy(lc))
 * @Date: 2022/10/13-10-13-17:19
 * @Description：demo.Design.Module.Builder
 */
public class Test {
    public static void main(String[] args) {

        //服务员
        Worker worker = new Worker();
        //链式编程
        Product product = worker
                .builderA("全家桶")
                .getProduct();
        System.out.println(product);

    }
}
